<?PHP

$table='content_type';
$id='id';
$catch='name';
include 'b/default_process_form.php';
printformheader('Content Type',$_GET['cmd']);
begin_form($_GET['cmd'],$id);
p_input('name',$o,$e);
p_text('description',$o,$e);
printsubmit("Save");
end_form($_GET['cmd']);
printformfooter(NULL,NULL,NULL,NULL,NULL,NULL);


$content_type=new content_type;
$headers[]='Id';
$headers[]='Name';

$headers[]='Action';
$show[]='id';
$show[]='name';


$links['Edit']='?q=m/content/d_content_type.php&cmd=edit&id=';
printformheader('Content Types','Manufacturers');

if(!empty($content_type->data))
{

	p_table($headers,$content_type->data,$links,"class='tablesorter'",$show,$ajax,FALSE);

} 
printformfooter("Add Bike","?q=m/sc/d_bike.php&cmd=add",NULL,NULL,NULL,NULL);
?>